<ion-view>
  <ion-header-bar class="bar bar-header header">
        <button class="button return-btn" on-touch="goback()">返回</button>
        <h1 class="title" ng-click="backToTop()">历史酒单详情</h1>
        <button class="button hd-more-btn" on-touch="changeStatus()"></button>
  </ion-header-bar>

    <div class="hd-popup-warp" ng-if="showStatus" >
        <i class="hd-popup-icon" ></i>
        <div class="hd-popup-list">
            <a class="hd-popup-item" ng-click="clickAddWineDetail()">增加酒款</a>
            <a class="hd-popup-item" ng-click="clickDeleteWineDetail()">删除酒款</a>
        </div>
    </div>

  <ion-content class="gray-bg" has-bouncing="true">

        <div class="list card his-product-box">

          <div class="item item-input his-product-tit">
            <input type="text" ng-model="order.mrw_name"/>
          </div>

          <div class="list">
            <ul>
              <li class="item item-checkbox his-product-del-list" ng-if="!isEmptyWineList" ng-repeat="wine in wineList" >

                <a class="item item-thumbnail-left his-product-item-list" ng-href="#/winedetails/{{wine.wine_id}}">
                  <div class="his-product-item-pic"><img src="{{ENV.picPath}}{{wine.wine_img_url}}" /></div>
                  <h3 ng-bind="wine.wine_cn_name"></h3>
                  <p class="his-product-item-eng" ng-bind="wine.wine_en_name"></p>
                  <p class="product-item-from">{{wine.country_cn_name}}<span ng-if="wine.wine_year&&wine.wine_year!=''&&wine.wine_year!='+'&&wine.wine_year!='﹢'&&wine.wine_year!='NV'">，{{wine.wine_year}}</span></p>
                  <p>参考价：<em class="his-product-item-money">¥ {{getFormatNum(wine.wine_price)}} <span class="his-product-money-tips">仅供参考</span></em></p>
                </a>
              </li>
            </ul>
          </div>
            <div class="padding row">
                <!--<div class="col-50">-->
                    <!--<div class="padding">-->
                      <button type="button" class="button button-full claret-red-btn" ng-click="createNewWineOrder()">生成新酒单</button>
                    <!--</div>-->
               <!-- </div>
                <div class="col-50">
                    <div class="padding"><button type="button" class="button button-full claret-red-btn" >分享</button></div>
                </div>-->
            </div>

        </div>

  </ion-content>
</ion-view>
